
#import "DataType.h"
#import "SpellSlot.h"

@interface Buff : CCNode
{
	CCSprite* mIcon;
	CCLabelTTF* mLastTime;
	SpellType mType;
	float mMaxTime;
	float mCurTime;
	bool mAlreadyBlink;
}

@property (nonatomic,readonly)SpellType bType;

-(id)initWithSpell:(Spell*)spell;
-(bool)updateBuff:(ccTime)dt;

@end

@interface BuffManager : CCNode
{
	NSMutableArray* mBuffs;
}

-(void)addBuff:(Spell*)spell;
-(void)updateBuff:(ccTime)dt;

@end
